import request from '@/utils/request.js'
// 获取企业列表
function enterpriseList (params) {
  return request({
    url: '/enterprise/list',
    params

  })
}
// 企业状态获取
function enterpriseStatus (data) {
  return request({
    url: '/enterprise/status',
    method: 'post',
    data
  })
}
function enterpriseAdd (data) {
  return request({
    url: '/enterprise/add',
    method: 'post',
    data
  })
}
function enterpriseEdit (data) {
  return request({
    url: '/enterprise/edit',
    method: 'post',
    data
  })
}
function enterpriseRemove (data) {
  return request({
    url: '/enterprise/remove',
    method: 'post',
    data
  })
}
export {
  enterpriseList,
  enterpriseStatus,
  enterpriseAdd,
  enterpriseEdit,
  enterpriseRemove
}
